package cn.linshu.security.jwt.util;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.factory.PasswordEncoderFactories;

/**
 * -*- coding: utf-8 -*-
 *
 * @Author linnin
 * @Name springboot3-labs-master
 * @Time 2025/2/5 15:06
 * @Note
 * @For
 * @Out Copyright© 2025 linnin
 */

/* coding: utf-8 */

public class BulidPassword {
    public static void main(String[] args) {
//        System.out.println(new BCryptPasswordEncoder().encode("admin"));
        System.out.println(PasswordEncoderFactories.createDelegatingPasswordEncoder().encode("admin"));
    }
}
